package com.pcbly.web.components.utils.template;
 
 
import com.pcbly.web.bean.publicinfo.ArticleBean;
import com.pcbly.web.components.utils.template.action.ModelCommonActions;
import com.pcbly.web.components.utils.template.dao.ModelCommonDaos;
import com.pcbly.web.components.utils.template.dwr.ModelDwrGenerators;   
import com.pcbly.web.components.utils.template.pagemess.ModelPageAndMessages;
import com.pcbly.web.components.utils.template.service.ModelCommonServices;
 

public class Modules {
	
	public void execute(Class<?> clz) {
		ModelDwrGenerators dwr=new ModelDwrGenerators();
		dwr.execute(clz);
		ModelCommonActions action=new ModelCommonActions();
		action.execute(clz);
		ModelCommonDaos dao=new ModelCommonDaos();
		dao.execute(clz);
		ModelCommonServices service=new ModelCommonServices();
		service.execute(clz);
		ModelPageAndMessages pageAndMessage=new ModelPageAndMessages();
		pageAndMessage.execute(clz);
	}
	public static void main(String[] args) {
		System.out.println("Begin...................");
		Modules model=new Modules();
		model.execute(ArticleBean.class);
		System.out.println("End...................");
	}
}
